.btn {
  line-height: 1.499;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  white-space: nowrap;
  text-align: center;
  background-image: none;
  border: 1px solid transparent;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.065);
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  height: 32px;
  padding: 0 10px;
  font-size: 14px;
  border-radius: 2px;
  color: rgba(0, 0, 0, 0.65);
  background-color: #fff;
  border-color: rgb(217, 217, 217);
  border-top-color: rgb(217, 217, 217, 0.5);
  border-left-color: rgb(217, 217, 217, 0.5);
}

.btn:hover,
.btn:focus {
  color: var(--primary-color);
  background-color: #fff;
  box-shadow: 0 1px 0 var(--primary-color-30);
  border: 2px solid var(--primary-color);
  /* padding adjustment prevents added border from shifting text */
  padding: 0 9px;
}

.btn:active {
  box-shadow: none;
  background-color: #ebebeb;
  color: var(--primary-dark-color);
}

.btn:focus {
  outline: 0;
}

.primary {
  color: #fff;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);
  box-shadow: 0 1px 0 rgb(9, 100, 185, 0.5);
}

.primary:focus {
  color: #fff;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px var(--primary-focus);
  z-index: 99999;
}

.primary:hover {
  color: #fff;
  background-color: var(--primary-light-color);
  border-color: var(--primary-light-color);
  z-index: 99999;
}

.primary:active {
  color: #fff;
  background-color: var(--primary-dark-color);
  border-color: var(--primary-dark-color);
}

.danger {
  color: var(--secondary-color);
  background-color: #f5f5f5;
  border-color: #d9d9d9;
}

.danger:hover {
  color: #fff;
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.danger:focus {
  color: var(--secondary-color);
  background-color: #fff;
  border-color: var(--secondary-color);
}

.danger:active {
  color: #fff;
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn:disabled,
.btn[disabled] {
  color: rgba(0, 0, 0, 0.25);
  background-color: #eee;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.065);
  border: 1px solid transparent;
  padding: 0 10px;
  border-color: #d9d9d9;
}

.ghost {
  color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 1px 0 transparent;
  border-color: transparent;
  background-color: transparent;
}

.ghost:hover,
.ghost:focus {
  color: rgba(255, 255, 255, 0.85);
  background-color: transparent;
}

.ghost:active {
  color: rgba(255, 255, 255, 1);
  background-color: transparent;
}

.ghost:disabled,
.ghost[disabled] {
  border: none;
  color: rgba(255, 255, 255, 0.55);
}

.primaryGhost {
  color: var(--primary-color);
  box-shadow: 0 1px 0 transparent;
  border-color: transparent;
  background-color: transparent;
}

.primaryGhost:hover,
.primaryGhost:focus {
  color: var(--primary-dark-color);
  background-color: transparent;
}

.primaryGhost:active {
  color: var(--primary-dark-color);
  background-color: transparent;
}

.primaryGhost:disabled,
.primaryGhost[disabled] {
  border: none;
  color: rgba(255, 255, 255, 0.55);
}

.leftWithMenu {
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-right: 1px solid rgba(255, 255, 255, 0.55);
}

.menuButton {
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  padding: 0 4px;
}

.menuButton:hover,
.menuButton:focus {
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  padding: 0 3px;
}

.menuButton:disabled {
  padding: 0 4px;
}
